/**
 * @Author: Rain
 * @Date: 2024/01/15 14:07:18
* @LastEditTime: 2024/01/15 18:32:09
 * @Description: Do Something
 */
import request from '@/utils/request'

export function add(data) {
  return request({
    url: 'api/disPartner',
    method: 'post',
    data
  })
}

export function del(ids) {
  return request({
    url: 'api/disPartner/',
    method: 'delete',
    data: ids
  })
}

export function edit(data) {
  return request({
    url: 'api/disPartner',
    method: 'put',
    data
  })
}

export function getDisPartnerUser(params) {
  return request({
    url: '/api/disPartnerUser',
    method: 'GET',
    params
  })
}

export function addDisPartnerUser(data) {
  return request({
    url: 'api/disPartnerUser',
    method: 'post',
    data
  })
}
export default { add, edit, del }
